<div id="recordShowContent"></div>
<script type="text/html" id="recordContent">
    <form class="layui-form layui-form-pane kaige-body-form" style="padding: 5px;" lay-filter="record_form_lay_filter" id='record_form_lay'>
        <input type="hidden" id="relation_id" value="{{ d.id }}" name="relation_id"/>
        <input type="hidden" id="relation_id_name" value="{{ d.name }}" name="relation_name"/>
        <div class="layui-form-item">
            <label class="layui-form-label">跟进类型</label>
            <div class="layui-input-inline">
                <select name="follow_type" lay-verify="required">
                    {{# lay.each(d.followType,function(index,item){
                        if(index == ''){
                            top.layer.msg('系统字典->跟进类型未配置完成，值不能为空');
                        }
                    }}
                    <option value="{{ index }}">{{ item }}</option>
                    {{# }) }}
                </select>
            </div>

            <label class="layui-form-label">下次跟进时间</label>
            <div class="layui-input-inline">
                <input id="next_time" name="next_time" value="" class="layui-input" type="text">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">跟进内容</label>
            <div class="layui-input-block">
                <input name="content" value="" class="layui-input" type="text">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">跟进状态</label>
            <div class="layui-input-inline">
                <select name="follow" lay-verify="required">
                    {{# lay.each(d.followStatus,function(index,item){
                        if(index == ''){
                            top.layer.msg('系统字典->客户跟进状态未配置完成，值不能为空');
                        }
                    }}
                    <option value="{{ index }}">{{ item }}</option>
                    {{# }) }}
                </select>
            </div>
            <label class="layui-form-label">提醒人员列表</label>
            <div class="layui-input-inline">
                <input id="reminds_name" type="text" value="" name="reminds_name"
                       class="layui-input"/>
                <input id="reminds_id" type="hidden" value="" name="reminds_id"
                       class="layui-input"/>
            </div>
        </div>
        <div class="layui-form-item" id="form_files_gl_html"></div>
        <div class="layui-form-item layui-hide">
            <button class="layui-hide" lay-submit="" id="record_form_btn_save" lay-filter="record_form_btn_save">保存数据
            </button>
        </div>
    </form>
</script>